<?php
/**
 * @name myMsSQL Project
 * @copyright GPL
 * @author Hakan DAMAR
 * @abstract USER Class Interface
 */
interface IUSER {

	public function __construct();
	/**
	 * @abstract Create New User
	 * @param $username
	 * @param $password
	 * @param $authorityLevel
	 * @param $email
	 * @return bool
	 */
	public function createUser($username,$password,$authorityLevel,$email);
	
	/**
	 * Modify User Details
	 * @param $address
	 * @param $telephone
	 * @param $mobilePhone
	 * @param $avatar
	 * @param $title
	 * @return bool
	 */
	public function setUserDetail($address,$telephone,$mobilePhone,$avatar,$title);
	
	/**
	 * For Login Controller
	 * @param $UID
	 * @return bool
	 */
	public function getUserLoginInfo($UID);
	
	/**
	 * User Info. Detail
	 * @param $UID
	 * @return string
	 */
	public function getUserDetail($UID);
}

?>